<template>
  <ElConfigProvider :locale="zhCn">
    <AppLayout />
  </ElConfigProvider>
</template>
<script setup lang="ts">
import AppLayout from "@/components/app-layout/AppLayout.vue";
import { useUserStore, useRoutePermission, useGlobalModalStore } from "@/store";
import zhCn from "element-plus/es/locale/lang/zh-cn";
import "uno.css";

// 尽快初始化用户信息
useUserStore();

// 尽快初始化全局模态框
useGlobalModalStore();

// 尽快初始化路由权限
useRoutePermission();
</script>
